package edu.zust.zw.shop.db.dao;

import edu.zust.zw.shop.db.dao.domain.ShopLeaveMessageDomain;
import edu.zust.zw.shop.db.dao.domain.ShopLeaveMessageDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopLeaveMessageDomainMapper {
    long countByExample(ShopLeaveMessageDomainExample example);

    int deleteByExample(ShopLeaveMessageDomainExample example);

    int deleteByPrimaryKey(String messageId);

    int insert(ShopLeaveMessageDomain record);

    int insertSelective(ShopLeaveMessageDomain record);

    List<ShopLeaveMessageDomain> selectByExample(ShopLeaveMessageDomainExample example);

    ShopLeaveMessageDomain selectByPrimaryKey(String messageId);

    int updateByExampleSelective(@Param("record") ShopLeaveMessageDomain record, @Param("example") ShopLeaveMessageDomainExample example);

    int updateByExample(@Param("record") ShopLeaveMessageDomain record, @Param("example") ShopLeaveMessageDomainExample example);

    int updateByPrimaryKeySelective(ShopLeaveMessageDomain record);

    int updateByPrimaryKey(ShopLeaveMessageDomain record);
}